package com.bang.study.absfactory;

/**
 * @ClassName: ElfKingdomFactory
 * @author: BANG
 * @Date: 2019/10/28 14:52
 * @Version: 1.0
 * @Modified By:
 * @Desc: TODO
 */
public class ElfKingdomFactory implements KingdomFactory {
    @Override
    public King createKing() {
        return new ElfKing();
    }

    @Override
    public Army createArmy() {
        return new ElfArmy();
    }

    @Override
    public Castle createCastle() {
        return new ElfCastle();
    }

}
